package com.example.food.domain;

import java.io.Serializable;

public class CoffeeTaste  implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private float price;

    private String classname;

    public CoffeeTaste(String name, float price) {
        this.name = name;
        this.price = price;
    }

    public CoffeeTaste(String name, float price, String classname) {
        this.name = name;
        this.price = price;
        this.classname = classname;
    }

    public CoffeeTaste() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    @Override
    public String toString() {
        return "CoffeeTaste{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", classname='" + classname + '\'' +
                '}';
    }
}
